3.23 \(\int \frac{x^2}{\log (c x)} \, dx\)

Optimal. Leaf size=11 \[ \frac{\text{Ei}(3 \log (c x))}{c^3} \]

[Out]

ExpIntegralEi[3*Log[c*x]]/c^3

________________________________________________________________________________________

Rubi [A]  time = 0.0234093, antiderivative size = 11, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {2309, 2178} \[ \frac{\text{Ei}(3 \log (c x))}{c^3} \]

Antiderivative was successfully verified.

[In]

Int[x^2/Log[c*x],x]

[Out]

ExpIntegralEi[3*Log[c*x]]/c^3

Rule 2309

Int[((a_.) + Log[(c_.)*(x_)]*(b_.))^(p_)*(x_)^(m_.), x_Symbol] :> Dist[1/c^(m + 1), Subst[Int[E^((m + 1)*x)*(a
 + b*x)^p, x], x, Log[c*x]], x] /; FreeQ[{a, b, c, p}, x] && IntegerQ[m]

Rule 2178

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[(F^(g*(e - (c*f)/d))*ExpIntegral
Ei[(f*g*(c + d*x)*Log[F])/d])/d, x] /; FreeQ[{F, c, d, e, f, g}, x] &&  !$UseGamma === True

Rubi steps

\begin{align*} \int \frac{x^2}{\log (c x)} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{e^{3 x}}{x} \, dx,x,\log (c x)\right )}{c^3}\\ &=\frac{\text{Ei}(3 \log (c x))}{c^3}\\ \end{align*}

Mathematica [A]  time = 0.0143752, size = 11, normalized size = 1. \[ \frac{\text{Ei}(3 \log (c x))}{c^3} \]

Antiderivative was successfully verified.

[In]

Integrate[x^2/Log[c*x],x]

[Out]

ExpIntegralEi[3*Log[c*x]]/c^3

________________________________________________________________________________________

Maple [A]  time = 0.039, size = 14, normalized size = 1.3 \begin{align*} -{\frac{{\it Ei} \left ( 1,-3\,\ln \left ( cx \right ) \right ) }{{c}^{3}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2/ln(c*x),x)

[Out]

-1/c^3*Ei(1,-3*ln(c*x))

________________________________________________________________________________________

Maxima [A]  time = 1.13978, size = 15, normalized size = 1.36 \begin{align*} \frac{{\rm Ei}\left (3 \, \log \left (c x\right )\right )}{c^{3}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/log(c*x),x, algorithm="maxima")

[Out]

Ei(3*log(c*x))/c^3

________________________________________________________________________________________

Fricas [A]  time = 0.699408, size = 36, normalized size = 3.27 \begin{align*} \frac{\logintegral \left (c^{3} x^{3}\right )}{c^{3}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/log(c*x),x, algorithm="fricas")

[Out]

log_integral(c^3*x^3)/c^3

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{2}}{\log{\left (c x \right )}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2/ln(c*x),x)

[Out]

Integral(x**2/log(c*x), x)

________________________________________________________________________________________

Giac [A]  time = 1.12029, size = 15, normalized size = 1.36 \begin{align*} \frac{{\rm Ei}\left (3 \, \log \left (c x\right )\right )}{c^{3}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/log(c*x),x, algorithm="giac")

[Out]

Ei(3*log(c*x))/c^3